.class public Lcom/glympse/android/glympse/ViewHistory$OnClickListenerCell;
.super Ljava/lang/Object;
.source "ViewHistory.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/glympse/android/glympse/ViewHistory;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = "OnClickListenerCell"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/glympse/android/glympse/ViewHistory;


# direct methods
.method public constructor <init>(Lcom/glympse/android/glympse/ViewHistory;)V
    .locals 0
    .parameter

    .prologue
    .line 797
    iput-object p1, p0, Lcom/glympse/android/glympse/ViewHistory$OnClickListenerCell;->this$0:Lcom/glympse/android/glympse/ViewHistory;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3
    .parameter "v"

    .prologue
    .line 804
    :try_start_0
    iget-object v1, p0, Lcom/glympse/android/glympse/ViewHistory$OnClickListenerCell;->this$0:Lcom/glympse/android/glympse/ViewHistory;

    iget-object v1, v1, Lcom/glympse/android/glympse/ViewHistory;->m_oGlympseView:Lcom/glympse/android/glympse/ViewHistory$MyGlympseView;

    if-eqz v1, :cond_0

    .line 807
    iget-object v1, p0, Lcom/glympse/android/glympse/ViewHistory$OnClickListenerCell;->this$0:Lcom/glympse/android/glympse/ViewHistory;

    iget-object v2, p0, Lcom/glympse/android/glympse/ViewHistory$OnClickListenerCell;->this$0:Lcom/glympse/android/glympse/ViewHistory;

    invoke-static {v2}, Lcom/glympse/android/glympse/ViewHistory;->access$17(Lcom/glympse/android/glympse/ViewHistory;)Z

    move-result v2

    if-eqz v2, :cond_1

    const/4 v2, 0x0

    :goto_0
    invoke-static {v1, v2}, Lcom/glympse/android/glympse/ViewHistory;->access$19(Lcom/glympse/android/glympse/ViewHistory;Z)V

    .line 810
    iget-object v1, p0, Lcom/glympse/android/glympse/ViewHistory$OnClickListenerCell;->this$0:Lcom/glympse/android/glympse/ViewHistory;

    iget-object v1, v1, Lcom/glympse/android/glympse/ViewHistory;->m_oGlympseView:Lcom/glympse/android/glympse/ViewHistory$MyGlympseView;

    const/high16 v2, 0x4000

    invoke-virtual {v1, v2}, Lcom/glympse/android/glympse/ViewHistory$MyGlympseView;->DoUpdate(I)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 817
    :cond_0
    :goto_1
    return-void

    .line 807
    :cond_1
    const/4 v2, 0x1

    goto :goto_0

    .line 813
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 815
    .local v0, e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    goto :goto_1
.end method
